﻿var _this = this;
$(document).ready(function() {

	$('#excel').click(excel);
	$('#csv').click(csv);
	$('#vcard').click(vcard);
});

function excel(){
	try{
		log("excel");
		location.href="excel";
//		window.close();
	}catch(e){
		errLog(e);
	}
}

function csv(){
	try{
		log("csv");
		location.href="csv";
//		window.close();
	}catch(e){
		errLog(e);
	}
}
function vcard(){
	try{
		log("vcard");
		location.href="vcard";
//		window.close();
	}catch(e){
		errLog(e);
	}
}

function log(s){
	errLog("*************** log start **************");
	errLog(s);
	errLog("*************** log the end **************");
}

function errLog(e){
	console.log(e);
}

